/**
 * 用户管理
 */
const userDao = require("../dao/userDao");

module.exports = {
    getUserList: (params) => {
        let userList = userDao.findAll(params);
        return userList;
    },
    add: async (params) => {
        await userDao.create(params)
    },
    del: async (params) => {
        await userDao.del(params)
    },
    update: async (params) => {
        await userDao.update(params)
    },
}